/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.composition.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.composition.composition.composition;
import za.ac.cput.composition.composition.impl.toDate;
import za.ac.cput.composition.composition.impl.Lecturer;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
    @Bean(name = "Lec")
    public composition composition() 
    {
        return new Lecturer();
    }

    @Bean
    public composition newComp() 
    {
        return new Lecturer();
    }

    @Bean(name = "Nlec")
    public composition Lecturer()
    {
        return new Lecturer();
    }
}
